#define _CRT_SECURE_NO_WARNINGS\

#include "stack.h"

void Test1()
{
	Stack* stack = (Stack*)malloc(sizeof(Stack));

	StackInit(stack);

	StackPush(stack, 1);
	StackPush(stack, 2);

	StackPop(stack);

	StackPush(stack, 3);
	StackPush(stack, 4);

	StackPop(stack);

	StackPrint(stack);

	StackDestroy(stack);
}

int main()
{
	Test1();

	return 0;
}